program define gtools_project_statements

  syntax using/

  tempname fh
  project, uses("`using'/gtools.trk")
  file open `fh' using "`using'/gtools.trk", read
  file read `fh' line

  while r(eof)==0 {
    if regexm("`line'", "^f (.*)") {
      project, uses("`using'/`=regexs(1)'") raw
    }

    file read `fh' line
  }

  file close `fh'

end
